package com.lilinling.yinzhi.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lilinling.common.utils.PageUtils;
import com.lilinling.common.utils.Query;

import com.lilinling.yinzhi.user.dao.MakerInfoDao;
import com.lilinling.yinzhi.user.entity.MakerInfoEntity;
import com.lilinling.yinzhi.user.service.MakerInfoService;


@Service("makerInfoService")
public class MakerInfoServiceImpl extends ServiceImpl<MakerInfoDao, MakerInfoEntity> implements MakerInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MakerInfoEntity> page = this.page(
                new Query<MakerInfoEntity>().getPage(params),
                new QueryWrapper<MakerInfoEntity>()
        );
        return new PageUtils(page);
    }

}